package com.sl.biz.modular.workflow.service;

import com.sl.biz.modular.workflow.dao.domain.entity.WorkflowInstanceDO;
import com.sl.biz.modular.workflow.domain.request.WorkflowInstanceNextByNodeCodeRequest;
import com.sl.biz.modular.workflow.domain.request.WorkflowInstanceNextRequest;
import com.sl.biz.modular.workflow.domain.request.WorkflowInstanceStartRequest;

import java.util.List;

public interface WorkflowInstanceBizService {


    List<WorkflowInstanceDO> list(WorkflowInstanceDO workflowInstanceDO);

    String start(WorkflowInstanceStartRequest startRequest);

    WorkflowInstanceDO getById(WorkflowInstanceDO workflowInstanceDO);

    String nextByNodeCode(WorkflowInstanceNextByNodeCodeRequest startRequest);

    String next(WorkflowInstanceNextRequest startRequest);
}
